home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ für Kids
/
C++ for kids.iso
/
Buch
/
Poly1.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-14
|
762b
|
24 lines
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#pragma hdrstop
#include "Poly1.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormCreate(TObject *Sender)
{
Obutton1 = new TOButton (this);
Obutton1->Parent = this;
Obutton1->SetSize (Rect(120,60,ClientWidth-120,ClientHeight-60));
}
//---------------------------------------------------------------------------